package com.cloudwalk;

import com.cloudwalk.config.AppConfig;
import com.cloudwalk.model.User;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class TestMain {
	public static void main(String[] args) {
		ApplicationContext ac = new AnnotationConfigApplicationContext(AppConfig.class);
		User user = (User) ac.getBean("user");
		System.out.println(user.toString());

	}
}